package com.ganzalang.gmall.designpatterns.composite2;

/**
 * @description: 抽象构件
 * @author: Ganzalang
 * @Date 2022/4/11 17:37
 */
public abstract class Component {
    /**
     * 个体和整体都具有的共享
     */
    public void doSomething(){
        //编写业务逻辑
    }
}
